/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.tesam.gedeon.entity;

import java.sql.Timestamp; 

/**
 *
 * @author Sistema
 */
public class Unit extends Entity {
    
    String code ;
    String name ;
    
    public Unit(){
    }
    
    public Unit(int id,
            int createdBy, int modifiedById, Timestamp dateCreated, Timestamp dateModified, Timestamp viewedTime, int status, 
            int deleted, int presence, int ownerId ,String code , String name){
       
    super(id, createdBy, modifiedById, dateCreated, dateModified, viewedTime, status, deleted, presence, ownerId );
        
    this.name = name ;
    this.code = code ;
    }
    
    public String getName(){
        return this.name ;
    }
    
    public void setName(String name){
        this.name = name ;
    }
    
    public String getCode(){
        return this.code;
    }
    
    public void setCode(String code ){
        this.code = code ;
    }
    
}
